package com.ibangnuo.manage.dao;

import com.ibangnuo.framework.domain.User;
import com.ibangnuo.framework.domain.ext.UserExt;
import com.ibangnuo.framework.domain.request.employee.AssistantRequest;
import com.ibangnuo.framework.domain.request.user.UserQueryRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author: wwy
 * @Date: 2019-12-27 14:04
 */
@Mapper
public interface UserMapper {
    UserExt findById(String id);

    List<Map> findBycommercialTenantId(AssistantRequest commercialTenantId);

    void insertUser(User user);

    List<Map> findByUserId(String assistantNumber);

    List<Map> findList(UserQueryRequest user);

}
